public class Animal
{
    public String name;

    private Integer age;

    private Lefted lefted;

    public Animal(String name, Integer age, Lefted lefted)
    {
        this.name = name;
        this.age = age;
        this.lefted = lefted;
    }

    public Animal()
    {
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public Integer getAge()
    {
        return age;
    }

    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Lefted getLefted()
    {
        return lefted;
    }

    public void setLefted(Lefted lefted)
    {
        this.lefted = lefted;
    }
}
